<?php
class StudentController
{
//echo'我是student控制器的index()方法';
	public function index(){
		require APP_PATH. 'StudentModel.php';
	$model= new StudentModel();
	$data=$model->getAll();
	//var_dump($data);
	require VIEW_PATH . 'student.php';
	}
}